package ${pro.entityPath!};
import com.vonchange.headb.core.annotation.HeaEntity;
import com.vonchange.headb.core.annotation.HeaId;[#if bean.bigDecimalFlag]
import java.math.BigDecimal;[/#if][#if bean.dateFlag]
import java.util.Date;[/#if]
 /**
 *  ${bean.entityComment!}
 *  @author    ${pro.author!}
 *  @date     ${now!}
 */
 @HeaEntity("${bean.tableName!}")
public class  ${bean.entityName!}{
     [#list bean.fields as field]
     
     /**
     * ${field.fieldComment!}
     */[#if field.iskey]
     @HeaId[/#if]
     private ${field.type!}  ${field.fieldName!};[/#list]
     public ${bean.entityName}() {
     }
     public ${bean.entityName!}( ${bean.idType!} ${bean.idName!}) {
         this.${bean.idName!} = ${bean.idName!};
      }
     [#list bean.fields as field]
     public ${field.type!}  get${field.fieldNameCap!}() {
         return this.${field.fieldName!};
     }
     public void set${field.fieldNameCap!}(${field.type!}  ${field.fieldName!}) {
         this.${field.fieldName!} = ${field.fieldName!};
      }
     [/#list]
}
